<template>
  <div class="about">
    <v-header />
    <v-sidebar />
    <div class="content-box" :class="{ 'content-collapse': collapse }">
      <div class="content">
        <router-view v-slot="{ Component }">
          <keep-alive>
            <component :is="Component" />
          </keep-alive>
        </router-view>
        <!-- <el-backtop target=".content"></el-backtop> -->
      </div>
    </div>
  </div>
</template>
<script>
import { computed } from "vue";
import { useStore } from "vuex";
import vHeader from "../components/Header.vue";
import vSidebar from "../components/Sidebar.vue";
// import vTags from "../components/Tags.vue";
export default {
  components: {
    vHeader,
    vSidebar,
    // vTags,
  },
  setup() {
    const store = useStore();
    // const tagsList = computed(() =>
    //     store.state.tagsList.map((item) => item.name)
    // );
    const collapse = computed(() => store.state.collapse);
    return {
      // tagsList,
      collapse,
    };
  },
};
</script>
